Application.EnableMenuItems Event

Executes when the user clicks in the menubar to give you the opportunity to determine which menu items to enable. Also executes when the application opens if no default window is selected in the Project Settings dialog box and when the last window is closed.

Syntax

EnableMenuItems